SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 55269: An undeclared array in a SUM statement in PROC DS2 returns the error "TKTSExecDirect failed"

DetailsCodeAboutRate It

The following errors are written to the SAS® log when an undeclared array is referenced in a SUM statement with the DS2 procedure:

ERROR: TKTSExecDirect failed.

ERROR: Access violation.

To circumvent the problem, declare the array with a VARARRAY statement before referencing the array in the code. The sample code on the Full Code tab illustrates this.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemBase SASz/OS9.4 TS1M09.4 TS1M3
Z649.4 TS1M09.4 TS1M3
Microsoft® Windows® for 64-Bit Itanium-based Systems9.4 TS1M0
Microsoft® Windows® for x649.4 TS1M09.4 TS1M3
Microsoft Windows 8 Enterprise x649.4 TS1M09.4 TS1M3
Microsoft Windows 8 Pro x649.4 TS1M09.4 TS1M3
Microsoft Windows 8.1 Enterprise 32-bit9.4 TS1M09.4 TS1M3
Microsoft Windows 8.1 Enterprise x649.4 TS1M09.4 TS1M3
Microsoft Windows 8.1 Pro9.4 TS1M09.4 TS1M3
Microsoft Windows 8.1 Pro 32-bit9.4 TS1M09.4 TS1M3
Microsoft Windows Server 2008 R29.4 TS1M09.4 TS1M3
Microsoft Windows Server 2008 for x649.4 TS1M09.4 TS1M3
Microsoft Windows Server 2012 Datacenter9.4 TS1M09.4 TS1M3
Microsoft Windows Server 2012 R2 Datacenter9.4 TS1M09.4 TS1M3
Microsoft Windows Server 2012 R2 Std9.4 TS1M09.4 TS1M3
Microsoft Windows Server 2012 Std9.4 TS1M09.4 TS1M3
Windows 7 Enterprise x649.4 TS1M09.4 TS1M3
Windows 7 Professional x649.4 TS1M09.4 TS1M3
64-bit Enabled AIX9.4 TS1M09.4 TS1M3
64-bit Enabled HP-UX9.4 TS1M09.4 TS1M3
64-bit Enabled Solaris9.4 TS1M09.4 TS1M3
HP-UX IPF9.4 TS1M09.4 TS1M3
Linux for x649.4 TS1M09.4 TS1M3
Solaris for x649.4 TS1M09.4 TS1M3
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.